import Vue from 'vue'
import eleComponentsInstall from "~/components/eleComponentsInstall";
import myComponentsInstall from '~/components/myComponentsInstall'
import loginModal from "~/components/common/loginModal";
import picturesModal from "~/components/common/picturesModal";

import '~/assets/scss/element-variables.scss'
import utils from "~/utils/utils";

Vue.use(loginModal)
Vue.use(picturesModal)
Vue.use(eleComponentsInstall)
Vue.use(myComponentsInstall)

Vue.filter('formatTime', d => utils.formatTime(d))
export default  function (content, inject) {
 inject('utils', utils)
}
